package com.bootdo.market.service.impl;

import com.bootdo.market.dao.PlatformAdvunionDao;
import com.bootdo.market.domain.PlatformAdvunionDO;
import com.bootdo.market.service.PlatformAdvunionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class PlatformAdvunionServiceImpl implements PlatformAdvunionService {
	@Autowired
	private PlatformAdvunionDao platformAdvunionDao;
	
	@Override
	public PlatformAdvunionDO get(Integer id){
		return platformAdvunionDao.get(id);
	}
	
	@Override
	public List<PlatformAdvunionDO> list(Map<String, Object> map){
		return platformAdvunionDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return platformAdvunionDao.count(map);
	}
	
	@Override
	public int save(PlatformAdvunionDO platformAdvunion){
		return platformAdvunionDao.save(platformAdvunion);
	}
	
	@Override
	public int update(PlatformAdvunionDO platformAdvunion){
		return platformAdvunionDao.update(platformAdvunion);
	}
	
	@Override
	public int remove(Integer id){
		return platformAdvunionDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return platformAdvunionDao.batchRemove(ids);
	}
	
}
